# 获取任意一个数千百十个位
a = eval(input("输入一个数字："))
print(a)
x1 = a//1000
x2 = a//100%10
x3 = a//10%10
x4 = a%10

print(x1)
print(x2)
print(x3)
print(x4)

